package dn.common;

import dn.constant.ApiStatus;

public class DefaultResultModel extends BaseResultModel {
    public DefaultResultModel() {
        setCode(ApiStatus.CODE_200);
        setMsg(ApiStatus.CODE_200_MSG);
    }

    public DefaultResultModel(String code,String msg){
        setCode(code);
        setMsg(msg);
    }

    private Object val;

    public Object getVal() {
        return val;
    }

    public void setVal(Object val) {
        this.val = val;
    }
}
